import socket
s = socket.socket()
s.setsockopt(socket.SOL_SOCKET,socket.SO_REUSEADDR,1)
add = ('0.0.0.0',8899)
s.bind(add)
s.listen(1)
import time
time.sleep(1000)